package command;

public class Invoker {
    private final CommandQueue commandQueue;

    public Invoker(CommandQueue commandQueue) {
        this.commandQueue = commandQueue;
    }

    public void doCommand(){
        commandQueue.execute();
    }
}
